package com.springinaction.chapter01.hello;

public class GreetingServicesImpl implements GreetingService {
	private String greeting;
	
	public GreetingServicesImpl() {}
	
	public GreetingServicesImpl(String greeting) {
		this.greeting = greeting;
	}
	
	public void sayGreeting() {
		System.out.println(greeting);
	}
	
	public void setGreeting(String greeting) {
		this.greeting = greeting;
	}
}
